import React,{Component} from 'react';
import { Table,Divider,Layout} from 'antd';
import { filedData, filedCol } from '../configData';
import '../style.scss';

const { Header, Content, Footer } = Layout;

class TablePage extends Component{
    render(){
        return(
            <Layout className="layout">
                <Header className="header">
                    <p className="title">资源挂接</p>
                </Header>
                <Content className='content'>
                    <Divider className='divider' orientation="left" plain>字段选择</Divider>
                    <Table  className="table-wrapper"
                        pagination={{position:["bottomCenter"]}}
                        dataSource={filedData} 
                        columns={filedCol} 
                        size="small" bordered/>
                </Content>
            </Layout>
        )
    }
}

export default TablePage;